import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入全局样式
import '@/assets/css/index.css'

Vue.config.productionTip = false

// 引入Element-ui插件
import 'element-ui/lib/theme-chalk/index.css'
import element from './element/index'
Vue.use(element)

// 创建全局组件
import homeshopli from '@/components/HomeShopLi.vue'
import allshopli from '@/components/AllShopLi.vue'
import login from '@/components/login.vue'

Vue.component(homeshopli.name,homeshopli)
Vue.component(allshopli.name,allshopli)
Vue.component(login.name,login)


// Vue.prototype.$getimg = 'http://39.100.7.70:81/'

new Vue({
  router,
  store,
  el: '#app',
  render: h => h(App),
}).$mount('#app')
